//
//  main.m
//  Object-C Category
//
//  Created by quentin on 15/9/17.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Person.h"
#import "Person+Revert.h"
#import "NSArray+Convert.h"


int main(int argc, const char * argv[]) {
    @autoreleasepool {
        // insert code here...
        //NSLog(@"Hello, World!");
        Person* durban = [Person PersonWithName:@"durban" withAge:25];
        NSLog(@"Durban's ame = %@,Durban's age = %d",durban.name,durban.age);
        [durban eat];
        [durban sleep];
        [durban play];
        [durban test];
        
        NSMutableArray* array = [NSArray arrayWithNumber:12345678];
        for (id string in array) {
            NSLog(@"string = %@",string);
        }
        
        NSLog(@"Hello World");
    }
    return 0;
}
